package com.dja.nzw.mq.rabbit;

import com.dja.nzw.mq.rabbit.config.AMQPConfig;

/**
 * Created by shuyun on 2016/8/9.
 */
public class RabbitConfig {
    public static AMQPConfig config() {
        AMQPConfig config = new AMQPConfig();
        config.setAddress("192.168.236.128:5672");
        config.setUsername("admin");
        config.setPassport("123456");
        config.setVirtualhost("nzw");

        return config;
    }
}
